<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>KindEditor</title>
		<style>
			form {
				margin: 0;
			}
			textarea {
				display: block;
			}
		</style>
		<script charset="utf-8" src="/skyline/plugin/kindeditor/kindeditor.js"></script>
		<script>
			KE.show({
				id : 'content',
				afterCreate : function(id) {
					KE.event.ctrl(document, 13, function() {
						KE.sync(id);
						document.forms['example'].submit();
					});
					KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
						KE.sync(id);
						document.forms['example'].submit();
					});
				}
			});
			
		</script>
	</head>
	<body>
		<h3>默认模式</h3>
		<input id="ok">
		<form name="example" method="get" action="../php/demo.php">
		<table>
		<tr><td>
			<textarea id="content" name="content" style="width:700px;height:300px;visibility:hidden;">
</textarea></td>
</tr>
<tr>
<td>
			<input type="submit" name="button" value="提交内容" /> (提交快捷键: Ctrl + Enter)
</td>
</tr>			</table>
		</form>
	</body>
</html>